package com.fc.advbox.service;

import com.fc.advbox.entity.MenuEntity;
import com.fc.advbox.entity.PermissionEntity;

import java.util.List;
import java.util.Map;

public interface IMenuService {
	
	MenuEntity queryObject(Integer menuId);
	
	List<MenuEntity> queryList(Map<String, Object> map);

	List<MenuEntity> queryByRoleIds(List<Long> roleIds);

	List<MenuEntity> queryByUserIds(Long userId);

	int queryTotal(Map<String, Object> map);
	
	void save(MenuEntity role);
	
	void update(MenuEntity role);
	
	void deleteBatch(Integer[] menuIds);
}
